const path = require("path");
module.exports = {
    store:{
        storage: {},
        get (key) {
          return this.storage[key]
        },
        set (key, sess) {
          this.storage[key] = sess
        },
        destroy (key) {
          delete this.storage[key]
        }
    },
    renderConfig:{
        root: path.join(__dirname, "..",'views'),
        extname: '.html',
        debug: process.env.NODE_ENV !== 'production'
    }
}